package com.etc.repository;

import com.etc.domian.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author kalista
 * @Description
 * @Date 2020/9/15  17:36
 **/
public interface UserRepository extends JpaRepository<User,Integer> {

    List<User> findByUsernameAndPassword(String username,String password);

}
